package Server.DataBase;

import java.io.Serializable;
import java.util.Date;

import Client.logic.MyFile;

public class Task implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int idTask;
	
	private Lesson lesson;
	
	private Date date;
	
	private MyFile file;
	
	private String fileName;
/**
 * 
 * @param idTask
 * @param lesson
 * @param date
 * @param file
 * @param fileName
 */
	public Task(int idTask, Lesson lesson, Date date, MyFile file,
			String fileName) {
		super();
		this.idTask = idTask;
		this.lesson = lesson;
		this.date = date;
		this.file = file;
		this.fileName = fileName;
	}
/**
 * 
 * @return
 */
	public int getIdTask() {
		return idTask;
	}
/**
 * 
 * @return lesson
 */
	public Lesson getLesson() {
		return lesson;
	}
/**
 * 
 * @return date
 */
	public Date getDate() {
		return date;
	}
/**
 * 
 * @return file
 */
	public MyFile getFile() {
		return file;
	}
/**
 * 
 * @return fileName
 */
	public String getFileName() {
		return fileName;
	}
	
	
}
